Auto merge of #5487 - matklad:mixed-deps, r=alexcrhiton
authorbors <bors@rust-lang.org>
Sat, 5 May 2018 17:19:01 +0000 (17:19 +0000)
committerbors <bors@rust-lang.org>
Sat, 5 May 2018 17:19:01 +0000 (17:19 +0000)
commit07c0784642621f50a77c5ba9dbd39c4a3f3699e4
tree65d8f58b96aa18e1c2271c2bc2284b27b70f0276
parenta24e8c667cc54925d5a4cff7caf1c91f924ae5f2
parent739cc2078d98d6e8bca817ea611df29cef60f474
Auto merge of #5487 - matklad:mixed-deps, r=alexcrhiton

FIx false positive warning

We warn if a feature was specified corresponding to a dependency which
is not optional. However, a dependency can be both optional and
required, and we shouldn't warn in that case.

cc https://github.com/rust-lang/cargo/pull/5480

r? @alexcrichton